@extends('admin.layouts.content')
@section('script')
<script type="text/javascript" charset="utf-8">
  new Wanyue().layuiAdmin.form({
      list: [
          {type: 'hidden', title: '', name: '_token', verify: 'required', value: '{{ csrf_token() }}'}
          , {type: 'text', title: '用户名', name: 'name', verify: 'required', disabled: true, value: '{{ @$name ?: "" }}'}
          , {type: 'password', title: '新密码', name: 'repassword', verify: 'required'}
          , {type: 'password', title: '确认新密码', name: 'confirm_repassword', verify: 'required'}
      ]
  }, {
      url: {
          submit: '{{url()->current()}}'
      }
      , handler: function(layui) {
      }
  });
</script>
@endsection
